<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
{eval $user=$this->user; $setting=$this->setting;}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Tipask's Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset={TIPASK_CHARSET}">
<link media="all" type="text/css" href="css/common/admin/admincp.css" rel="stylesheet"/>
</head>
<body>
<div id="append">
</div>
<div class="container">
	<!--{if isset($message)}-->
		<!--{eval $type=isset($type)?$type:'correctmsg'; }-->
		<div class="{$type}"><p>{$message}</p></div>
	<!--{/if}-->
	<div class="mainbox nomargin">
		<form {if isset($curlink)}action="index.php?admin_link/edit{$setting['seo_suffix']}"{else}action="index.php?admin_link/add{$setting['seo_suffix']}"{/if} method="post">
			<table class="opt">
				<tr>
					<th colspan="2">链接名称:</th>
				</tr>
				<tr>
					<td><input class="txt"  {if isset($curlink['name'])}value="{$curlink['name']}" {/if} name="name" style="width:300px;"></td>
					<td valign="top"></td>
				</tr>
				<tr>
					<th colspan="2">链接说明:</th>
				</tr>
				<tr>
					<td><input class="txt"  {if isset($curlink['description'])}value="{$curlink['description']}"{/if} name="descr" style="width:300px;"></td>
					<td valign="top">对于该链接的描述</td>
				</tr>
				<tr>
					<th colspan="2">链接URL:</th>
				</tr>
				<tr>
					<td><input class="txt"  {if isset($curlink['url'])}value="{$curlink['url']}"{/if} name="url" style="width:300px;"></td>
					<td valign="top">链接URL地址,如：http://www.tipask.com</td>
				</tr>
				<tr>
					<th colspan="2">LOGO地址:</th>
				</tr>
				<tr>
					<td><input class="txt"  {if isset($curlink['logo'])}value="{$curlink['logo']}"{/if} name="logo" style="width:300px;"></td>
					<td valign="top">logo图片地址</td>
				</tr>
			</table>
			<div class="opt">
				{if isset($curlink)}
				<input type="hidden" name="lid" value="$curlink['id']"/>
				{/if}
				<input class="btn" tabindex="3" type="submit" value=" 提 交 " name="submit"></div>
		</form>
	</div>
</div>

</body>

</html>
